package com.un.ebs.sale.domain;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (SaleContractNoteExt)表实体类
 *
 * @author liubo
 * @since 2020-10-27 11:55:54
 */
@Data
@Component
@TableName("v_sale_contract_note_ext")
@SuppressWarnings("serial")
public class SaleContractNoteExt extends Model<SaleContractNoteExt> {


    @DbField(name = "contract_id", length = 40, precision = 0)
    private String contractId;

    @DbField(name = "business_ent_id", length = 40, precision = 0)
    private String businessEntId;

    @DbField(name = "business_ent_name", length = 100, precision = 0)
    private String businessEntName;

    @DbField(name = "last_customer_name", length = 100, precision = 0)
    private String lastCustomerName;

    @DbField(name = "contract_code", length = 50, precision = 0)
    private String contractCode;

    @DbField(name = "submit_time", length = -1, precision = 0)
    private Date submitTime;

    @DbField(name = "personnel_name", length = 50, precision = 0)
    private String personnelName;

    @DbField(name = "is_temp", length = -1, precision = 0)
    private Boolean isTemp;

    @DbField(name = "type", length = -1, precision = 0)
    private Integer type;

    @DbField(name = "contract_qty", length = 38, precision = 4)
    private Double contractQty;

    @DbField(name = "contract_money", length = 38, precision = 6)
    private Double contractMoney;

    @DbField(name = "order_qty", length = 38, precision = 4)
    private Double orderQty;

    @DbField(name = "out_qty", length = 38, precision = 4)
    private Double outQty;

    @DbField(name = "out_money", length = 38, precision = 6)
    private Double outMoney;

    @DbField(name = "deliver_qty", length = 38, precision = 4)
    private Double deliverQty;

    @DbField(name = "deliver_money", length = 38, precision = 6)
    private Double deliverMoney;

    @DbField(name = "invoice_money", length = 38, precision = 6)
    private Double invoiceMoney;

    @DbField(name = "invoice_not_money", length = 38, precision = 6)
    private Double invoiceNotMoney;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;


}